<?php

require_once 'Pipes/Xml/Node.php';
require_once 'Pipes/Xml/NodeList.php';

class Pipes_Xml_Element extends Pipes_Xml_Node 
{
    public function __construct(DOMNode $element)
    {
        $this->_decorated = $element;
    }
    
    public function appendChild(Pipes_Xml_Node $node)
    {
        $this->_decorated->appendChild($node->domNode());
    }
}